package main;

import java.awt.*;

public class HighlightInfoImpl implements HighlightInfo{
    int start;
    int end;
    Color color;

    public HighlightInfoImpl(int startOffset, int endOffset, Color color) {
        this.start=startOffset;
        this.end=endOffset;
        this.color=color;
    }
    public int getStartOffset() {
        return start;
    }
    public int getEndOffset() {
        return end;
    }
    public Color getColor() {
        return color;
    }
}
